#include<stdio.h>
#include<math.h>

int main()
{
    double mf, mh, res;
    printf("Input Capacitance (microfarads):");
    scanf("%lf", &mf);
    printf("Input Inductance (millihenrys):");
    scanf("%lf", &mh);
    res = 1.0 / (2 * M_PI * sqrt(mf * mh / 1000000000.0));
    printf("Resonant Frequency is %7.3f\n", res);
}
